<%@ include file="/WEB-INF/tiles/include.jsp"%>

<script type="text/javascript">
	$(document).ready(function($) {
		$("#modalbox_save").click(function() {
			$.wis.util.doSave()
		});
	
		$("#facebox_close").click(function() {
			$.facebox.close()   
		});
	});
</script>

<form:form id="editForm" commandName="commandCashtrans" method="post" action="${pageContext.request.contextPath}/basic/trans/cashTrans.save">
	<form:hidden path="pgIndex"/>
	<form:hidden path="pgRows"/>
	<form:hidden path="pgTotal"/>
	<form:hidden path="id"/>
	<form:hidden path="strAction"/>

<table class="tableInput">
	<tr>
		<th class="field"><spring:message code="label.locName"/>&nbsp;:</th>
		<td class="even"><form:input path="locName" size="30" maxlength="30"/></td>
	</tr>
	<tr>
		<th class="field"><spring:message code="label.country"/>&nbsp;:</th>
		<td class="even">
			<form:select path="countryId" 
				items="${commandCashtrans.countryCB}" 
				itemValue="stValue" itemLabel="stLabel"/>
		</td>
	</tr>		
	<tr>
		<th class="field"><spring:message code="label.locDesc"/>&nbsp;:</th>
		<td class="odd"><form:textarea path="locDesc" cols="50" rows="5"/></td>
	</tr>
</table>
<table class="tableButton">
	<tr><td align="left">
		<span class="button"><a href="#modalbox_save" id="modalbox_save"><spring:message code="button.save"/></a></span>
		<span class="button"><a href="#facebox_close" id="facebox_close"><spring:message code="button.cancel"/></a></span>
	</td></tr>
</table>
</form:form>